﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Browser;
using System.Windows.Controls;
using System.Windows.Media;
using jLight;
using jLight.Extensions;


namespace jLightTest
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            jQuery.Load();
            InitializeComponent();
            Loaded += new RoutedEventHandler(MainPage_Loaded);
        }

        void MainPage_Loaded(object sender, RoutedEventArgs e)
        {
            
        }

        //private object HandleClick(object param)
        //{
        //    jQueryObject parameter = (jQueryObject) param;
        //    // var d = jQuery.Select("span")[1];
        //    parameter.Css("position", "absolute");
        //    var ani = new jQueryEffectMap { Left = "+=250", Opacity = jQueryEffectConst.Toggle };
        //    var aniOptions = new jQueryEffectOptions { Duration = 2000, Queue = false };

        //    parameter.Animate(ani, aniOptions);

        //    jQuery.Select("#book").SlideToggle("slow", arg => MessageBox.Show("Completed"));
        //    return true;
        //}



    }


}
